<?php echo $left ?>
<script>
$( document ).ready(function() {
	$.ajaxSetup({
		cache: false
	});
	$( '.sidebar' ).simpleSidebar({
		settings: {
			opener: '#open-sb',
			wrapper: '.wrapper',
			animation: {
				duration:0,
				easing: 'easeOutQuint'
			}
		},
		sidebar: {
			align: 'left',
			width: 214,
			closingLinks: 'a',
		}
	});
});
</script>
<style type="text/css">
	#page{height:32px;line-height:32px;margin-top:15px;margin-bottom:15px;text-align:left;position:relative;bottom:0;margin-left: 16px;}
	#page a{background:#fff;border-radius:5px;float:left;display:block;padding:0 12px;line-height:32px;border:1px solid #ddd;margin-right:5px;font-size:12px;font-weight:bold;color:#444;}
	#page a:hover{background:#f6f6f6}
	#page a.cur{color:red;background:#444;border:1px solid #444;color:#fff;}
	#page a.noborder{border:none;margin:0 2px;}
</style>
<div class="clear"></div>
<div  class="w640">
      <div class="yd"><span class="ydtxt">公益收益中心</span> - 公益币转账 </div>
      <table class="biao">
      <?php echo form_open('mobile/wallet_manage/transfer'); ?>
	     <tr>
		    <td class="w140 pr10">公益币</td>
           <td><input name="send_uid" type="text"  class="input1" value="<?php echo $public_money; ?>" readonly="readonly"/></td>
		 </tr>
		 <tr>
		    <td class="w140 pr10">对方公益账号</td>
	        <td><input name="target_user_account" type="text" value="" class="input1" /></td>
		 </tr>
		 <tr>
		    <td class="w140 pr10">数量</td>
	        <td><input name="number" type="text" value="" class="input1" /></td>
		 </tr>
		 <tr>
		    <td class="w140 pr10">二级密码</td>
	        <td><input name="spwd" type="password" value="" class="input1" /></td>
		 </tr>
		 <tr>
		    <td colspan="2" >
		        <div class="inp360"><input class="inputt" type="submit" value="确认提交"></div></td>
         </tr>
      </form>
	  </table>
	  <div class="dx"></div>
	  <div class="yd2"><span class="ydtxt">公益收益中心</span> - 公益币明细</div>
	  <table cellpadding="0" cellspacing="0" class="liebiao">
	     <tr>
		    <th>公益编号</th>
            <th>公益账号</th>
			<th>姓名</th>
			<th>时间</th>
			<th>收支记录</th>
	     </tr>
		<?php
		foreach ($details_list as $rs){
		?>
		<tr>
			<?php
			$this->load->model ( 'user_model' );
			$result = $this->user_model->get_uesr_info ( $rs['account2'] );
			?>
			<td><?php echo $rs['bianhao'];?></td>
			<td><?php echo $rs['account2'];?></td>
			<td><?php echo $result['user_name'];?></td>
			<td><?php echo date("Y-m-d H:i:s",$rs['create_time']);?></td>
			<td><?php if($rs['transfer_type']==1){echo "支出";}else{echo "收入";}?>&nbsp;<?php echo $rs['number'];?></td>
		</tr>
		<?php }?>
  	</table>
	<?php echo $multi;?>
</div>
<?php echo $foot; ?>